package com.czk.model.state.practice;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/8/9 14:48
 */
public class Client {
    public static void main(String[] args) {
        OrderContext orderContext = new OrderContext(
                // 创建订单
                CreateOrder.instance(),
                "123"
        );
        orderContext.updateState();
        //
        orderContext.updateState();

    }

}
